const express = require('express');
const router = express.Router();
const { getCtr,postCtr,putCtr,delCtr ,putCtr1,postCtr1,} = require("../../../controller/admin/department")

//查询全部数据
router.get("/departmentall", getCtr)

// //新增
router.post('/departmentadd',postCtr)
router.post('/departmentadd1',postCtr1)



// //修改
router.put('/departmentadd1',putCtr)
router.put('/departmentadd2',putCtr1)


// //删除
router.delete('/departmentdel',delCtr)

module.exports = router